package com.entity;


import com.alibaba.fastjson.annotation.JSONField;

import java.sql.Timestamp;

public class Stock {

  private Integer id;
  private Integer stockId;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private java.sql.Timestamp stockTime;
  private Integer count;
  private Integer goodsId;
  private Integer staffId;
  private String momo;


  public String getMomo() {
    return momo;
  }

  public void setMomo(String momo) {
    this.momo = momo;
  }

  public Stock() {
  }

  public Stock(Integer id, Integer stockId, Timestamp stockTime, Integer count, Integer goodsId, Integer staffId, String momo) {
    this.id = id;
    this.stockId = stockId;
    this.stockTime = stockTime;
    this.count = count;
    this.goodsId = goodsId;
    this.staffId = staffId;
    this.momo = momo;
  }

  @Override
  public String toString() {
    return "Stock{" +
            "id=" + id +
            ", stockId=" + stockId +
            ", stockTime=" + stockTime +
            ", count=" + count +
            ", goodsId=" + goodsId +
            ", staffId=" + staffId +
            ", momo='" + momo + '\'' +
            '}';
  }

  public Integer getStaffId() {
    return staffId;
  }

  public void setStaffId(Integer staffId) {
    this.staffId = staffId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getStockId() {
    return stockId;
  }

  public void setStockId(Integer stockId) {
    this.stockId = stockId;
  }


  public java.sql.Timestamp getStockTime() {
    return stockTime;
  }

  public void setStockTime(java.sql.Timestamp stockTime) {
    this.stockTime = stockTime;
  }


  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }


  public Integer getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Integer goodsId) {
    this.goodsId = goodsId;
  }

}
